import sys
import os

sys.path.append(os.getcwd())
import runtest

runtest.use_tests(runtest.Tests([runtest.result_test({"write_limit":"0.3"}, {"terminate_reason":"WRITE_LIMIT"}),
                                 runtest.result_test({"write_limit":"5.5", "deadline":"10"}, {"terminate_reason":"WRITE_LIMIT"}),
                                 runtest.result_test({"write_limit":"7", "deadline":"10"}, {"terminate_reason":"USER_TIME_LIMIT"}),
                                 runtest.result_test({"write_limit":"5.9"}, {"terminate_reason":"WRITE_LIMIT"}),
                                 ]))